// 测试记录

import instance from './http'

const record = {
    // 查询
    getRecord(params) {
        return instance({
            method: 'GET',
            url: '/record',
            params: params
        })
    },

    // 新增
    addRecord(data) {
        return instance({
            method: 'POST',
            url: '/record',
            data: data
        })
    },
}

export default record
